package com.zito.health.api.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static org.springframework.web.bind.annotation.RequestMethod.POST;

@Target(METHOD)
@Retention(RUNTIME)
@RequestMapping(method = POST)
public @interface AppPostMapping {

    @AliasFor(annotation = RequestMapping.class)
    String value() default "";

    String note() default "";

}
